<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>ConfigObject配置</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/js/themes/icon.css" />
		<link rel="stylesheet"
			href="${pageContext.request.contextPath}/homepages/css/main.css"
			type="text/css" />
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/homepages/js/forms.js"></script>
		<script type="text/javascript">
			$(function(){
				$('#pages').load('${pageContext.request.contextPath}/butScript/singleInput',
				{'configId':'AddConfigObject'}); 
				
				
			});
			
			function saveConfig(){
				$.ajax({
					type:'post',
					url:'${pageContext.request.contextPath}/pageConfig/saveConfig',
					data:$('#INFO_FORM').serialize(),
					success:function(data){
						if(data==1){
       						alert("添加成功");
						}else{
							alert("添加失败");
						}
					}
				})
			}
			 
		</script> 
  </head>
  
  <body>
  	<div class="easyui-panel" title="数据源配置">
  		<div id="pages"></div>
  	</div>
  </body>
</html>
